Memsource\Service\Content\AbstractPostService S

Total Complexity 37
Dependencies 13
Dependents 0
Total lines 342
Lines of code 189
Logical lines of code 105
Comment lines 69
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
getItems()
A
51 8 25
addOrUpdateTranslation()
A
43 6 49
saveTranslation()
S
51 4 23
getItem()
S
59 3 13
getPostJson()
S
53 2 22
transferTermsFromSourceToTarget()
S
66 3 8
getLastRevision()
S
62 2 12
allowStyleTag()
S
69 2 7
getPreviewPostLink()
S
69 2 6
__construct()
S
66 1 8
isFolder()
S
82 1 3
getPost()
S
76 1 4
calculatePostSize()
S
78 1 3
getPostJsonWithOriginalData()
S
69 1 6